﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace ProjectCore.Domain.Model.Entity
{
    /// <summary>
    /// 汽车商品规格
    /// </summary>
    public class SkuCar
    {
        [Key]
        public int SkuID { get; set; }             //规格ID
        public int ProductTypeID { get; set; }     //类别外键
        public decimal Price { get; set; }          //价格
        public decimal Tprice { get; set; }         //实际价格
        public int Num { get; set; }                //库存
        public int Weight { get; set; }             //重量
        [StringLength(50)]
        public string Color { get; set; }           //颜色
        [StringLength(50)]
        public string Size { get; set; }            //尺寸
        public int Cal { get; set; }                //减库存方式
        public int Spare { get; set; }              //备用
    }
}
